package org.itboys.mysql.dao;

import org.itboys.mysql.entity.BaseEntity;

/**
 * mysql dao 基类
 * Created by weisky on 2017/2/4.
 */
public interface BaseDao<T extends BaseEntity> {

    void add(T t);
    void updateById(T t);
    void delete(T t);
    T get(T t);
    T getById(T t);
}
